package com.iot.common.utils;

import org.springframework.util.DigestUtils;

public class MD5Util {

    /**
     * 获取MD5
     *
     * @return
     */
    public static String getMD5String(String orgStr) {
        return DigestUtils.md5DigestAsHex(orgStr.getBytes());
    }

}
